package com.yuju.vo.group;


import java.util.Date;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;
/**
 * 
 * 类名：EmployeeVO  <br />
 *
 * 功能：
 *
 * @author : zhousc <br />
 * @Date : 2017年11月27日 上午10:35:34  <br />
 * @version : 1.1 <br />
 */
public class EmployeeVO extends BaseVO {
	// 当前页码
	@NonNull(message = "页数不能为空", serviceLine = "pager")
	private Integer page;
	// 每页显示记录数
	@NonNull(message = "每页显示行数不能为空", serviceLine = "pager")
	private Integer pageSize;
	
	// 模糊查询关键字
	private String q;
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为grp_employee.id
     */
	@NonNull(message = "员工ID不能为空", serviceLine = "update,del,get")
    private String id;

    /**
     *  名称。,所属表字段为grp_employee.name
     */
	@NonNull(message = "员工名不能为空", serviceLine = "update,save")
    private String name;
    /**
     *  名称模糊查询。,所属表字段为grp_employee.name
     */
    private String myLike_name;
    /**
     *  所属部门。外键，引用部门信息表（grp_department）的主键（id）。,所属表字段为grp_employee.department_id
     */
    @NonNull(message = "部门ID不能为空", serviceLine = "update,save")
    private String departmentId;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为grp_employee.hotel_id
     */
    private String hotelId;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为grp_employee.group_id
     */
    @NonNull(message = "集团ID不能为空", serviceLine = "update,save")
    private String groupId;

    /**
     *  性别。1表示男，2表示女。,所属表字段为grp_employee.gender
     */
    @NonNull(message = "性别不能为空", serviceLine = "update,save")
    private Byte gender;

    /**
     *  ,所属表字段为grp_employee.mobile
     */
    @NonNull(message = "手机号不能为空", serviceLine = "update,save")
    private String mobile;

    /**
     *  员工状态。1正常，2离职，3兼职，4外包。,所属表字段为grp_employee.emp_status
     */
    @NonNull(message = "员工状态不能为空", serviceLine = "update,save")
    private Byte empStatus;

    /**
     *  编码，编号。,所属表字段为grp_employee.code
     */
    private String code;

    /**
     *  ,所属表字段为grp_employee.gmt_delete
     */
    private Date gmtDelete;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为grp_employee.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为grp_employee.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为grp_employee.gmt_modified
     */
    private Date gmtModified;

    /**
     * 账号ID
     */
    private String opId;
    private static final long serialVersionUID = 1L;
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getQ() {
		return q;
	}
	public void setQ(String q) {
		this.q = q;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMyLike_name() {
		return myLike_name;
	}
	public void setMyLike_name(String myLike_name) {
		this.myLike_name = myLike_name;
	}
	public String getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}
	public String getHotelId() {
		return hotelId;
	}
	public void setHotelId(String hotelId) {
		this.hotelId = hotelId;
	}
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public Byte getGender() {
		return gender;
	}
	public void setGender(Byte gender) {
		this.gender = gender;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public Byte getEmpStatus() {
		return empStatus;
	}
	public void setEmpStatus(Byte empStatus) {
		this.empStatus = empStatus;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getGmtDelete() {
		return gmtDelete;
	}
	public void setGmtDelete(Date gmtDelete) {
		this.gmtDelete = gmtDelete;
	}
	public Byte getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Byte isDeleted) {
		this.isDeleted = isDeleted;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public String getOpId() {
		return opId;
	}
	public void setOpId(String opId) {
		this.opId = opId;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public EmployeeVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public EmployeeVO(Integer page, Integer pageSize, String q, String id, String name, String myLike_name,
			String departmentId, String hotelId, String groupId, Byte gender, String mobile, Byte empStatus,
			String code, Date gmtDelete, Byte isDeleted, Date gmtCreate, Date gmtModified, String opId) {
		super();
		this.page = page;
		this.pageSize = pageSize;
		this.q = q;
		this.id = id;
		this.name = name;
		this.myLike_name = myLike_name;
		this.departmentId = departmentId;
		this.hotelId = hotelId;
		this.groupId = groupId;
		this.gender = gender;
		this.mobile = mobile;
		this.empStatus = empStatus;
		this.code = code;
		this.gmtDelete = gmtDelete;
		this.isDeleted = isDeleted;
		this.gmtCreate = gmtCreate;
		this.gmtModified = gmtModified;
		this.opId = opId;
	}

    
    
    
}